package cn.topevery.garden.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 违规记录表 视图
 *
 * @author code-generate
 * @date 2022-01-20
 */
@Data
@ApiModel(value = "IllegalRecord 视图", description = "违规记录表 视图")
public class IllegalRecordVO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /**
     * 违规对象
     */
    @ApiModelProperty(value = "违规对象")
    @Excel(name = "违规对象", orderNum = "0")
    private String objId;

    @ApiModelProperty(value = "违规对象")
    public String objName ;

    @ApiModelProperty(value = "违规对象")
    public String name ;

    @ApiModelProperty(value = "排名")
    public String pm ;

    /**
     * 所属标段
     */
    @ApiModelProperty(value = "所属标段")
    @Excel(name = "所属标段", orderNum = "0")
    private String sectionId;

    private String sectionName;

    /**
     * 违纪事由
     */
    @ApiModelProperty(value = "违纪事由")
    @Excel(name = "违纪事由", orderNum = "0")
    private String illegalReason;

    /**
     * 失信等级,A:严重失信
     */
    @ApiModelProperty(value = "失信等级,A:严重失信")
    @Excel(name = "失信等级,A:严重失信", orderNum = "0")
    private String distrustLevel;

    /**
     * 违规日期
     */
    @ApiModelProperty(value = "违规日期")
    @Excel(name = "违规日期", orderNum = "0")
    private LocalDate illegalDate;

    /**
     * 详细说明
     */
    @ApiModelProperty(value = "详细说明")
    @Excel(name = "详细说明", orderNum = "0")
    private String explain;

    /**
     * 扣分 
     */
    @ApiModelProperty(value = "扣分 ")
    @Excel(name = "扣分 ", orderNum = "0")
    private String score;

    @ApiModelProperty("实际总分")
    private String total;


    /**
     * 登记人
     */
    @ApiModelProperty(value = "登记人")
    @Excel(name = "登记人", orderNum = "0")
    private String registrant;

    /**
     * 修改人 
     */
    @ApiModelProperty(value = "修改人 ")
    @Excel(name = "修改人 ", orderNum = "0")
    private Integer dbUpdateId;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @Excel(name = "修改时间", orderNum = "0")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime dbUpdateDate;

    @ApiModelProperty(value = "登记时间")
    @Excel(name = "登记时间", orderNum = "0")
    public LocalDate registerDate ;

    @ApiModelProperty("违法次数")
    private Integer illegalTimes;

    @ApiModelProperty("累计扣分")
    private Integer count;

    @ApiModelProperty("企业所属区域名")
    private String distractName;
}
